cmake_minimum_required(VERSION 3.4)
project(stinger CXX)

set(CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 11)

link_directories(/usr/local/lib)

set(sources
	src/stinger.cpp
    src/build_type.cpp
    src/stinger_vertex.cpp
    src/stinger_edge.cpp
)

add_executable(stinger ${sources})

target_include_directories(stinger PUBLIC /usr/local/include ./inc/ ./inc/alg)
target_link_libraries(stinger pmemobj -lpthread)

